package com.clps.sync.test01;

import com.clps.sync.NotifyService;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Slf4j
public class test001 {


    @Autowired
    private NotifyService notifyService;

    @Test
    public void  execute(){
        log.info("your method test Code");
        log.info("Invoking an asynchronous method. " + Thread.currentThread().getName());
        notifyService.noAsync();
        notifyService.withAsync();
    }
}
